/**  File: wall.h
 *   Author: Jaideep Balekar
 *           Department of Computer Science
 *           Texas A&M University
 *           315 - Programming Studio
 * Due Date: December 6th, 2009 @ 11:59pm
 * Contents: This class draws the walls on the map and sets its properties
 */

#ifndef WALL_H
#define WALL_H

#include <QGraphicsItem>

#define WIDTH  10
#define HEIGHT 10
#define ID_WALL 0 //0 stand for wall (like 1 for dot and 2 for bigdot)


class Wall : public QGraphicsItem 
{
public:
    virtual int type() const;
    Wall();
    QRectF boundingRect() const;
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
               QWidget *widget);

private:
    QColor color;
    QColor pencolor;
};

#endif // WALL_H
